﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MusicExplorer.Model
{
    public class Youtube : Entity
    {
        private readonly string m_playlistId;
        private readonly string m_playlistName;

        public Youtube(string id, string name, Repository repository, string playlistId, string playlistName)
            : base(id, name, repository)
        {
            m_playlistId = playlistId;
            m_playlistName = playlistName;
        }

        public Youtube(string id, string name, Repository repository, params string[] parameters)
            : base(id, name, repository)
        {
            m_playlistId = parameters[0];
            m_playlistName = parameters[1];
        }

        public string PlaylistId { get { return m_playlistId; } }
        public string PlaylistName { get { return m_playlistName; } }

        public override EntityType Type
        {
            get { return EntityType.Youtube; }
        }
    }
}
